{% extends 'base.html' %}

{% block content%}
    <table class="tabl">
    <tr><td colspan="2" class="heador"><strong>Список сотрудников</strong></td></tr>
    {% for item in object_list %}
       <tr class="{% cycle 'color1' 'color2' %}">
           <td class="one"><strong>{{ item}}</strong></td>
           <td class="two"><strong><a href="{{ item.get_absolute_url }}">Информация</a></strong></td>
       </tr>
    {% empty %}
        <tr><td>Сотрудников нет</td></tr>
    {% endfor %}
    </table>
{% endblock %}